import request from '@/plugin/axios'
import { sysPath } from '@api/sys.common'

export function getLastestVersion(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/sys/res/config/version/info',
        method: 'post',
        params
    })
}

export function pageVersion(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/sys/res/config/version/list',
        method: 'post',
        params
    })
}

export function confirmUpdateInfo(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/sys/res/config/version/confirm',
        method: 'post',
        data: params
    })
}

